package com.dstation.service;

import com.dstation.dao.TagInfoMapper;
import com.dstation.domain.TagInfo;
import com.dstation.service.interf.ITagInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author Eastward
 * @date 2022/4/25 - 15:31
 */
@Service
public class TagInfoService implements ITagInfoService {

    @Resource
    private TagInfoMapper tagInfoMapper;

    @Override
    public List<TagInfo> findTagsByVideoId(int videoId) {
        return tagInfoMapper.selectTagsByVideoId(videoId);
    }
}
